package com.micro.mic_order.stoge.service.impl;

import com.micro.mic_common.feignClients.BusinessClient;
import com.micro.mic_order.stoge.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author yijian
 * @Date 2021/12/30 19:40
 **/
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private BusinessClient businessClient;

    @Override
    public String queryUserInfo(long userId) {
        return businessClient.queryUserByUserId(userId);
    }
}
